package com.itheima.myreflect2.Student.threaddemo1;

/**
 * @program: Myset
 * @description:
 * @author: xuejingjing
 * @create: 2021-06-16 23:36
 **/
public class MyRunnable implements  Runnable {
    @Override
    public void run() {
        //线程启动后调用的方法
        for (int i = 0; i < 100; i++) {
            System.out.println("第二种方式实现多线程"+i);
        }
    }
}
